package com.ys.service.tools;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.ys.vo.R;

import lombok.AllArgsConstructor;
import lombok.Data;

public interface ToolsCheckRepeatService {
	
	List<List<String>> readExcel(MultipartFile file) throws Exception;
	
	R checkRepeat(String country, List<List<String>> rows, String text);
	@Data
	@AllArgsConstructor
	public class CheckRepeatDto{
		private List<RowDto> rows; // 数据行
		
		@Data
		@AllArgsConstructor
		public static class RowDto {
			private String name; // 名称
			private Integer num; // 名称
		}
	}
}
